/**
 * 2016年11月1日
 */
package jdk.effectivejava;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author Alex
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@interface Test{
	
}
class Sample{
	public static void m1(){
		
	}
	@Test
	public static void m3(){
		throw new RuntimeException("Boom");
	}
	@Test
	public void m5(){
		
	}
	
}
public class AnnoTest {
	
	public static void main(String[] args) {
		int k = 0;
		assert k == -1:"k!=-1";
		assert args!=null:"length should equal -1";
	}

}
